/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: user
 * Date: 2024-04-04
 * Time: 16:46
 */
public class Test {
    public static void main1(String[] args) {
        MyStack ms = new MyStack();
        ms.push(1);
        ms.push(2);
        ms.push(3);
        ms.push(4);
//        ms.stackDisplay();
//        System.out.println();
//        System.out.println("========");
//        int ret = ms.pop();
//        System.out.println(ret);
//        System.out.println(ms.seek());
//        System.out.println("========");
//       ms.stackDisplay();
        System.out.println(ms.size());
    }
}
